package cn.ynu.cmrs.model;

import java.io.Serializable;

/**
 * School unit<br>
 * 
 * <br>
 * <table>
 * <tr><td><b>field</b></td><td><b>description</b></td><td><b>example</b></td></tr>
 * <tr><td>id</td><td>id of the school</td><td>"2009106001"</td></tr>
 * <tr><td>name</td><td>name of the school</td><td>"Software school"</td></tr>
 * <tr><td>icon</td><td>subUrl of school icon</td><td>"/images/school_icon/2009106001.jpg"</td></tr>
 * </table>
 * 
 * @author starsfury
 *
 */
public class CollegeInfoItem implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 3029775643190078092L;
	private String id = "";
	private String name = "";
	private String icon = "";

	public CollegeInfoItem() {
		super();
		// TODO Auto-generated constructor stub
	}

	public CollegeInfoItem(String id, String name, String icon) {
		super();
		this.id = id;
		this.name = name;
		this.icon = icon;
	}

	@Override
	public String toString() {
		return "CollegeInfo [id=" + id + ", name=" + name + ", icon=" + icon
				+ "]";
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

}
